Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Desc.args being stripped in the remapping process #136

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

Geolykt
Copy link
Contributor

@Geolykt Geolykt commented Oct 1, 2024

Fixes #135

--

In hindsight I'm a little bit surprised that this didn't end up producing mangled bytecode since visitArray would be called while visitEnd would never be called. However, the result was invalid either way, so this change resolves that issue at the very least, though the other (known) shortfalls of how @Desc is being remapped in tiny-remapper remain unaddressed. Though given that this rather serious bug remained unnoticed for a bit longer than a year is a good indicator that investing all too much resources in more nuanced edge-cases is a bit … overreacting.

@modmuss50 modmuss50 merged commit dba9f1f into FabricMC:master Oct 15, 2024
3 checks passed
@Geolykt Geolykt deleted the mixin-desc-args-fix branch October 15, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remapping of @Desc removes args=
2 participants